package com.bobbygu.server.simpleapp.model;

import com.bobbygu.server.simpleapp.utils.SafeUtil;

public class UserModel {
    public String user;
    public String password;
    public String token;
    public String sign;

    public String getSign() {
        return SafeUtil.MD5(user + password + token);
    }

    @Override
    public String toString() {
        return "UserModel{" +
                "user='" + user + '\'' +
                ", password='" + password + '\'' +
                ", token='" + token + '\'' +
                ", sign='" + sign + '\'' +
                '}';
    }
}
